package com.yms.aop.service.impl;

import com.yms.aop.innotion.Before;
import com.yms.aop.service.LoginService;

/**
 * @version : 1.0
 * @author: yangmingsong
 * @date: 2022/8/7-08-07-15:14
 * @description: spring5-test
 */
public class LoginServiceImpl implements LoginService {

    @Before
    @Override
    public int loginUser(String name) {
        return 200;
    }

    @Override
    public void loginPas(String name, String pas) {
        System.out.println(name+":"+pas);
    }
}
